// 默认导入
import add from './add/add.js'

const result = add(1, 2)
console.log(result)

// 按需导入
import { getArrSum } from './tool/tool.js'
console.log(getArrSum([1, 2, 3]))